889b05455a83b8cbddd3354c943e0989390a01e7,src/org/exist/xmlrpc/XmldbRequestProcessorFactory.java,XmldbRequestProcessorFactory,authenticate,#String#String#,69
Before Change
password = "guest";
}
// check user
UserImpl u = brokerPool.getSecurityManager().getUser(username);
if (u == null)
throw new XmlRpcException(0, "User " + username + " unknown" );
if (!u.validate(password)) {
LOG.debug("login denied for user " + username);
throw new XmlRpcException(0, "Invalid password for user " + username);
}
After Change
}
// check user
try {
return brokerPool.getSecurityManager().authenticate(username, password);
} catch (AuthenticationException e) {
LOG.debug(e.getMessage());
throw new XmlRpcException(0, e.getMessage());